﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aula14
{
    public class UtilAF
    {
        public static void Transformar<T>(T[] valores, Func<T, T> transformador)
        {
            for (int i = 0; i < valores.Length; i++)
                valores[i] = transformador(valores[i]);
        }
    }
}
